package cn.yunhe.service;

import cn.yunhe.model.RedPacket;

/**
 * Created by zs on 2018/1/5.
 */
public interface RedPackageService {

    /**
     * 获取红包
     * @param id
     * @return
     */
    RedPacket getRedPackage(Long id);

    /**
     * 扣减红包
     * @param id
     * @return
     */
    int decreaseRedPackage(Long id);
}
